#include <wx/wx.h>
#include <wx/tglbtn.h>

class SelectGameDialog : public wxDialog
{
    public:
    SelectGameDialog(wxWindow*parent,const wxString&title,int typedialog);

    wxPanel *parentpanel;
    wxButton *okselectbutton;

    wxRadioButton *rbboard1;
    wxRadioButton *rbboard2;
//    wxRadioButton *rbgreedyfront;
//    wxRadioButton *rbgreedyback;
    wxToggleButton *tbtngreedyfront;
    void OnToggleButtonGreedyFront(wxCommandEvent&event);
    wxToggleButton *tbtngreedyback;
    void OnToggleButtonGreedyBack(wxCommandEvent&event);

    wxToggleButton *tbtnslow;
    wxToggleButton *tbtnmedium;
    wxToggleButton *tbtnfast;
    wxToggleButton *tbtngreedyfront1;
    wxToggleButton *tbtngreedyback1;
    wxToggleButton *tbtngreedyfront2;
    wxToggleButton *tbtngreedyback2;


    wxTextCtrl *nametext;

    int typedialog;

    void OnQuitSelect(wxCommandEvent&event);

    static const int ID_PLAYER_VS_AI_BUTTON;
    static const int ID_AI_VS_AI_BUTTON;
    static const int ID_TBTN_GREEDY_FRONT;
    static const int ID_TBTN_GREEDY_BACK;
    static const int ID_TBTN_GREEDY_FRONT1;
    static const int ID_TBTN_GREEDY_BACK1;
    static const int ID_TBTN_GREEDY_FRONT2;
    static const int ID_TBTN_GREEDY_BACK2;
    static const int ID_TBTN_SLOW;
    static const int ID_TBTN_MEDIUM;
    static const int ID_TBTN_FAST;
};
